/*
 * @Author: Du.M
 * @Date: 2021-06-23 16:20:26
 * @LastEditTime: 2021-07-01 17:36:22
 * @FilePath: \express_basics\routes\users.js
 */

const express = require('express')
const routeUsers = express.Router()
const { login,currentUser } = require('../service/loginService')
/* GET home page. */
routeUsers.post('/api/login/', login)
routeUsers.get('/api/currentUser/',currentUser)

module.exports = routeUsers